package com.authine.cloudpivot.ext.domain.vo;

import com.authine.mvp.app.launcher.domain.AttachmentFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @program: gm-market
 * @description:
 * @author: wlw
 * @create: 2021-08-23 14:57
 **/
@Data
@Schema(description = "RefundOrderVo")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class RefundOrderVo {
    @Schema(description = "订单号")
    private String id;
    @Schema(description = "客户订单号")
    private String erp_po;
    @Schema(description = "订单商品id")
    private String orderGoodsId;
    @Schema(description = "商品名称")
    private String name;
    @Schema(description = "商品编码")
    private String goods_id;
    @Schema(description = "品牌")
    private String brand;
    @Schema(description = "供应商")
    private String vendor_organization_name;
    @Schema(description = "退货原因")
    private String memo;
    @Schema(description = "退货金额")
    private BigDecimal customer_amount;
    @Schema(description = "未税金额")
    private BigDecimal pretax_amount;
    @Schema(description = "日期")
    private Date createdTime;
    @Schema(description = "状态")
    private String status;
    @Schema(description = "图片")
    private List<AttachmentFormat> images;
    @Schema(description = "商品单价")
    private BigDecimal price;
    @Schema(description = "商品未税单价")
    private BigDecimal pretax_price;
    @Schema(description = "退货数量")
    private BigDecimal quantity;
    @Schema(description = "退货单位")
    private String unit;
}
